package com.study.example.study.extension.easyexcel.write;

/**
 * easyexcel 写数据策略接口
 *
 * @author RenYuLiang
 */
public interface EasyExcelWriteDataStrategy<T> {


    /**
     * 指定写用哪个class去写
     *
     * @return Class
     */
    Class<?> getWriteClass();

    /**
     * 分片写入数据
     *
     * @param arg 参数
     * @return EasyExcelWriteDataDTO
     */
    EasyExcelWriteDataDTO<T> listWriteData(final Object arg);


}
